package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 自提点管理对象 youxuan_merchants
 * 
 * @author ruoyi
 * @date 2021-01-29
 */
public class YouxuanMerchants extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 自提点名称 */
    @Excel(name = "自提点名称")
    private String name;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 仓库id */
    @Excel(name = "仓库id")
    private Long storageId;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date gmtCreate;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String detailAddress;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date gmtUpdate;

    /** 纬度 */
    @Excel(name = "纬度")
    private BigDecimal lat;

    /** 经度 */
    @Excel(name = "经度")
    private BigDecimal lng;

    /** 团长的图片 */
    @Excel(name = "团长的图片")
    private String img;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setStorageId(Long storageId) 
    {
        this.storageId = storageId;
    }

    public Long getStorageId() 
    {
        return storageId;
    }
    public void setGmtCreate(Date gmtCreate) 
    {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtCreate() 
    {
        return gmtCreate;
    }
    public void setDetailAddress(String detailAddress) 
    {
        this.detailAddress = detailAddress;
    }

    public String getDetailAddress() 
    {
        return detailAddress;
    }
    public void setGmtUpdate(Date gmtUpdate) 
    {
        this.gmtUpdate = gmtUpdate;
    }

    public Date getGmtUpdate() 
    {
        return gmtUpdate;
    }
    public void setLat(BigDecimal lat) 
    {
        this.lat = lat;
    }

    public BigDecimal getLat() 
    {
        return lat;
    }
    public void setLng(BigDecimal lng) 
    {
        this.lng = lng;
    }

    public BigDecimal getLng() 
    {
        return lng;
    }
    public void setImg(String img) 
    {
        this.img = img;
    }

    public String getImg() 
    {
        return img;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("userId", getUserId())
            .append("status", getStatus())
            .append("storageId", getStorageId())
            .append("gmtCreate", getGmtCreate())
            .append("detailAddress", getDetailAddress())
            .append("gmtUpdate", getGmtUpdate())
            .append("lat", getLat())
            .append("lng", getLng())
            .append("img", getImg())
            .toString();
    }
}
